Summary of 2_DecisionTree
<< Go back
Decision Tree
- n_jobs: -1
- criterion: gini
- max_depth: 3
- num_class: 5
- explain_level: 2
Validation
- validation_type: split
- train_ratio: 0.75
- shuffle: True
- stratify: True
Optimized metric
logloss
Training time
19.3 seconds
Metric details
|
1 |
2 |
3 |
4 |
5 |
accuracy |
macro avg |
weighted avg |
logloss |
| precision |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
4e-06 |
| recall |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
4e-06 |
| f1-score |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
4e-06 |
| support |
5 |
5 |
14 |
9 |
5 |
1 |
38 |
38 |
4e-06 |
Confusion matrix
|
Predicted as 1 |
Predicted as 2 |
Predicted as 3 |
Predicted as 4 |
Predicted as 5 |
| Labeled as 1 |
5 |
0 |
0 |
0 |
0 |
| Labeled as 2 |
0 |
5 |
0 |
0 |
0 |
| Labeled as 3 |
0 |
0 |
14 |
0 |
0 |
| Labeled as 4 |
0 |
0 |
0 |
9 |
0 |
| Labeled as 5 |
0 |
0 |
0 |
0 |
5 |
Learning curves

Decision Tree
Tree #1
Rules
if (SCHOLARSHIP <= 3.5) and (SCHOLARSHIP > 2.5) then class: 3 (proba: 100.0%) | based on 42 samples
if (SCHOLARSHIP > 3.5) and (SCHOLARSHIP <= 4.5) then class: 4 (proba: 100.0%) | based on 24 samples
if (SCHOLARSHIP > 3.5) and (SCHOLARSHIP > 4.5) then class: 5 (proba: 100.0%) | based on 15 samples
if (SCHOLARSHIP <= 3.5) and (SCHOLARSHIP <= 2.5) and (READ_FREQ_SCI > 1.5) then class: 2 (proba: 100.0%) | based on 15 samples
if (SCHOLARSHIP <= 3.5) and (SCHOLARSHIP <= 2.5) and (READ_FREQ_SCI <= 1.5) then class: 1 (proba: 100.0%) | based on 15 samples
Permutation-based Importance

Confusion Matrix

Normalized Confusion Matrix

ROC Curve

Precision Recall Curve

SHAP Importance

SHAP Dependence plots
Dependence 1 (Fold 1)

Dependence 2 (Fold 1)

Dependence 3 (Fold 1)

Dependence 4 (Fold 1)

Dependence 5 (Fold 1)

SHAP Decision plots
Worst decisions for selected sample 1 (Fold 1)

Worst decisions for selected sample 2 (Fold 1)

Worst decisions for selected sample 3 (Fold 1)

Worst decisions for selected sample 4 (Fold 1)

Best decisions for selected sample 1 (Fold 1)

Best decisions for selected sample 2 (Fold 1)

Best decisions for selected sample 3 (Fold 1)

Best decisions for selected sample 4 (Fold 1)

<< Go back